package com.liull.papersystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.beans.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @Descriotion:
 * @Author longlong.liu
 * @Version 1.0
 * @Date 2021/10/27 18:18
 */
@TableName("t_emp")
@Data
public class Employee implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer empId;

    private String name;

    private Date birthday;

    private String sex;

    private String address;

    private Integer age;

    private Double sal;

    private Integer deptId;
}
